WooCommerce\PayPalCommerce\Applepay\Assets\DataToAppleButtonScripts S

Total Complexity 30
Dependencies 2
Dependents 1
Total lines 248
Lines of code 149
Logical lines of code 47
Comment lines 66
Methods 7
Properties 2

Methods 7

Method Rating Maintainability Complexity Lines of code
data_for_product_page()
A
44 9 42
data_for_cart_page()
A
48 7 32
data_for_admin_page()
S
50 6 27
check_if_need_shipping()
S
60 4 15
apple_pay_script_data()
S
58 2 18
apple_pay_script_data_for_admin()
S
63 1 11
__construct()
S
77 1 4